//入口文件
import Vue from 'vue'

//router
import VueRouter from 'vue-router'
Vue.use(VueRouter)

//import vue-resource
import VueResource from 'vue-resource'
Vue.use(VueResource)

Vue.http.options.root = 'http://vue.studyit.io';


//import component (Mint-ui)
import MintUi from 'mint-ui';
import 'mint-ui/lib/style.css'
Vue.use(MintUi);
//import the style of mui
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'


//
import router from './router.js'
//
import app from './App.vue'
var vm= new Vue({
  el:"#app",
  render:c=>c(app),
  router
})


export default router